package service.Impl;

import dao.ChineseDao;
import entity.Chinese;
import lombok.Getter;
import lombok.Setter;
import service.ChineseService;

/**
 * @author SuTing
 * @version 1.0
 * @date 2021/11/11 23:17
 */
@Getter
@Setter

public class ChineseServiceImpl implements ChineseService {
    //通过配置文件方式注入
    private ChineseDao chineseDao;
    @Override
    public void add(Chinese chinese) {
        chineseDao.update(chinese);
    }
}
